package com.hjm.project.area.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * area对象 area
 * 
 * @author LOVE
 * @date 2020-10-18
 */
public class Area extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    @Excel(name = "null")
    private Long areaId;

    /** null */
    @Excel(name = "null")
    private String areaName;

    /** null */
    @Excel(name = "null")
    private String parentId;

    /** null */
    @Excel(name = "null")
    private Long areaCode;

    /** null */
    @Excel(name = "null")
    private Long areaType;


    public void setAreaId(Long areaId)
    {
        this.areaId = areaId;
    }

    public Long getAreaId()
    {
        return areaId;
    }
    public void setAreaName(String areaName)
    {
        this.areaName = areaName;
    }

    public String getAreaName()
    {
        return areaName;
    }
    public void setParentId(String parentId)
    {
        this.parentId = parentId;
    }

    public String getParentId()
    {
        return parentId;
    }
    public void setAreaCode(Long areaCode)
    {
        this.areaCode = areaCode;
    }

    public Long getAreaCode()
    {
        return areaCode;
    }
    public void setAreaType(Long areaType)
    {
        this.areaType = areaType;
    }

    public Long getAreaType()
    {
        return areaType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("areaId", getAreaId())
            .append("areaName", getAreaName())
            .append("parentId", getParentId())
            .append("areaCode", getAreaCode())
            .append("areaType", getAreaType())
            .toString();
    }
}
